#include "stdafx.h"
#include "CombatLoger.h"
#include <sstream>

std::string CCombatLoger::ToStringAll()
{
	std::stringstream ss;
	for(uint32 ii=0;ii<m_vNodes.size();ii++)
	{
		ss<<m_vNodes[ii]<<"\n";
	}
	return ss.str();
}

std::string Repeat( char c,uint32 n )
{
	std::stringstream ss;
	for(uint8 i=0;i<n;i++)
	{
		ss<<c;
	}
	return ss.str();
}
